﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace NP.BPMReportPlatform.YCLWLJGZSYC.Dto
{
    public class YCLWLJGZSYCInput : PagedAndSortedRequestDto
    {
        /// <summary>
        /// 流程实例编号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string AddUserName { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public List<string> OrderStatus { get; set; } = new List<string>();

        /// <summary>
        /// 制单日期（开始节点）
        /// </summary>
        public DateTime? StartCreationTime { get; set; }

        /// <summary>
        /// 制单日期（结束节点）
        /// </summary>
        public DateTime? EndCreationTime { get; set; }

        public int? MaintenanceType { get; set; }

        public string Dept { get; set; }

        public string MaterialType { get; set; }
    }

    public enum TimeTypeEnum
    {
        [Description("按月")]
        Month = 1,
        [Description("按季度")]
        Season = 2,
        [Description("按半年")]
        HalfYear = 3,
        [Description("按半年实际按月")]
        HalfYearOnMonth = 4,
        [Description("按一年实际按月")]
        YearOnMonth = 5,
        [Description("按三年实际按季度")]
        ThreeYearOnSeason = 6,
    }
}
